import yaml


class Utils:
    # 读取测试数据
    @staticmethod
    def get_testdata(file_path):
        with open(file_path, encoding="utf-8") as f:
            data = yaml.safe_load(f)
        return data